import request from '@/utils/request'
// -------- 合同类型 --------

let BASE_ADDRESS = 'work/commercialManager'


//  分页查询
export function getbusinessManageListApi(params) {
    return request({
        url: `${BASE_ADDRESS}/list`,
        method: "get",
        params
    })
}

//  编辑商务
export function deitbusinessManageListApi(data) {
    return request({
        url: `${BASE_ADDRESS}/edit`,
        method: "put",
        data
    })
}
//  新增商务
export function addbusinessManageListApi(data) {
    return request({
        url: `${BASE_ADDRESS}/add`,
        method: "post",
        data
    })
}
//查询userid
export function getuserid(params) {
    return request({
        url: `system/user/list`,
        method: "get",
        params
    })
}


